﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="msg.aspx.cs" Inherits="aspx_communication_msg" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

    <title>福建师范大学-名师讲堂-交流互动</title>
    <meta name="description" content="福建师范大学“名师讲堂”不仅要让学生们享受到学术盛宴，更要让学生们感受到名师风范。">
    <meta name="author" content="福建师范大学数学与计算机科学学院2011级俞坤">
    <meta name="keywords" content="福建师范大学,福师大,名师讲堂,福师大名师讲堂,师大,师大名师讲堂,福建师范大学名师讲堂" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link href="./style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <table width="100%" border="0" cellspacing="10" cellpadding="0">
        <tbody>
            <tr valign="top">
                <td class="list_content">

                    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="box">
                        <tbody>
                            <tr>
                                <td>
                                    <table width="100%" border="0" cellpadding="3" cellspacing="2">
                                        <tbody>
                                            <tr>
                                                <td align="center" bgcolor="#E1EFFB"><strong>&nbsp;</strong></td>
                                            </tr>
                                            <tr>
                                                <td align="left" valign="top">
                                                    <table width="100%" border="0" cellpadding="4" cellspacing="0" bgcolor="#FFFFFF">
                                                        <tbody>
                                                            <tr>
                                                                <td height="100%" valign="top" bgcolor="#FFFFFF">
                                                                    <asp:Repeater runat="server" ID="rpt交流互动" OnItemDataBound="rpt交流互动_ItemDataBound" ViewStateMode="Disabled">
                                                                        <ItemTemplate>
                                                                            <table width="92%" border="0" align="center" cellpadding="4" cellspacing="1" bgcolor="#F4F9FD" class="tableborder">
                                                                                <tbody>
                                                                                    <tr class="header">
                                                                                        <td width="55%" height="23">发布者: <%# Eval("姓名") %> </td>
                                                                                        <td width="45%">发布时间: <%# Eval("发布时间") %> </td>
                                                                                    </tr>
                                                                                    <tr bgcolor="#FFFFFF">
                                                                                        <td height="23" colspan="2">
                                                                                            <table border="0" width="100%" cellspacing="1" cellpadding="8" bgcolor="#cccccc">
                                                                                                <tbody>
                                                                                                    <tr>
                                                                                                        <td width="100%" bgcolor="#FFFFFF" style="word-break: break-all"><%# Eval("留言内容") %> </td>
                                                                                                    </tr>
                                                                                                </tbody>
                                                                                            </table>

                                                                                            <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1">
                                                                                                <tbody>
                                                                                                    <tr>
                                                                                                        <td>

                                                                                                            <strong><font color="#FF0000"><asp:label text="回复:" id="lbl回复"  tooltip='<%# Eval("回复内容") %>' runat="server" /> </font></strong><%# Eval("回复内容") %> </td>
                                                                                                    </tr>
                                                                                                </tbody>
                                                                                            </table>
                                                                                        </td>
                                                                                    </tr>
                                                                                </tbody>
                                                                            </table>
                                                                            <br />
                                                                        </ItemTemplate>
                                                                    </asp:Repeater>
                                                                    <form runat="server">
                                                                        <table width="92%" border="0" align="center" cellpadding="4" cellspacing="1">
                                                                            <tbody>
                                                                                <tr>
                                                                                    <td>页码：<asp:Label Text="0" runat="server" ID="lbl页码" />
                                                                                        &nbsp;
                                                                                        <asp:LinkButton Text="首页" runat="server" ID="btn首页" OnClick="btn首页_Click" />
                                                                                        &nbsp;
                                                                                    <asp:LinkButton Text="前一页" runat="server" ID="btn前一页" OnClick="btn前一页_Click" />
                                                                                        &nbsp;
                                                                                    <asp:LinkButton Text="后一页" runat="server" ID="btn后一页" OnClick="btn后一页_Click" />
                                                                                        &nbsp;
                                                                                    <asp:LinkButton Text="尾页" runat="server" ID="btn尾页" OnClick="btn尾页_Click" />
                                                                                        &nbsp;
                                                                                        留言数：
                                                                                        <asp:Label Text="1" runat="server" ID="lbl总页数" />
                                                                                    </td>
                                                                                </tr>
                                                                            </tbody>
                                                                        </table>

                                                                        <table width="92%" border="0" align="center" cellpadding="4" cellspacing="1" class="tableborder">
                                                                            <tbody>
                                                                                <tr class="header">
                                                                                    <td colspan="2" bgcolor="#F4F9FD"><strong>请您留言:</strong></td>
                                                                                </tr>
                                                                                <tr bgcolor="#FFFFFF">
                                                                                    <td width="20%">姓名:</td>
                                                                                    <td width="722" height="23">
                                                                                        <asp:TextBox runat="server" ID="txt姓名" ValidationGroup="new" CausesValidation="true" MaxLength="5" ViewStateMode="Disabled" />
                                                                                        <asp:RequiredFieldValidator ErrorMessage="*" Display="Static" ControlToValidate="txt姓名" runat="server" ValidationGroup="new" /></td>
                                                                                </tr>
                                                                                <tr bgcolor="#FFFFFF">
                                                                                    <td>联系邮箱:</td>
                                                                                    <td height="23">
                                                                                        <asp:TextBox runat="server" ID="txt联系邮箱" ValidationGroup="new" CausesValidation="true" MaxLength="30" ViewStateMode="Disabled" />
                                                                                        <asp:RequiredFieldValidator ErrorMessage="*" ControlToValidate="txt联系邮箱" Display="Static" runat="server" ValidationGroup="new" />
                                                                                        <asp:RegularExpressionValidator ErrorMessage="邮箱格式不正确，正确格式例如：mingshijiangtang@fjnu.com" ControlToValidate="txt联系邮箱" Display="Dynamic" runat="server" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ValidationGroup="new" /></td>
                                                                                </tr>
                                                                                <tr bgcolor="#FFFFFF">
                                                                                    <td>联系电话:</td>
                                                                                    <td height="23">
                                                                                        <asp:TextBox runat="server" ID="txt联系电话" ValidationGroup="new" CausesValidation="true" MaxLength="11" ViewStateMode="Disabled" /><asp:RegularExpressionValidator ErrorMessage="联系电话格式不正确，正确格式例如：15912341234" ControlToValidate="txt联系电话" ValidationGroup="new" runat="server" ValidationExpression="\d{11}" />
                                                                                    </td>
                                                                                </tr>
                                                                                <tr bgcolor="#FFFFFF">
                                                                                    <td>留言内容<asp:RequiredFieldValidator ErrorMessage="(*)" ControlToValidate="txt留言内容" runat="server" Display="Dynamic" ValidationGroup="new" />:</td>
                                                                                    <td height="23">
                                                                                        <asp:TextBox runat="server" ID="txt留言内容" Rows="12" Columns="60" TextMode="MultiLine" ValidationGroup="new" CausesValidation="true" MaxLength="500" ViewStateMode="Disabled" /></td>
                                                                                </tr>
                                                                                <tr bgcolor="#FFFFFF">
                                                                                    <td height="23">&nbsp;</td>
                                                                                    <td height="23">

                                                                                        <input type="reset" name="Submit22" value="重置" /><asp:Button Text="提交" runat="server" ValidationGroup="new" ID="btn提交" OnClick="btn提交_Click" />
                                                                                        <asp:Image ID="Image1" runat="server" ImageUrl="~/aspx/createImg.aspx" /><asp:TextBox runat="server" ID="txt验证码" ValidationGroup="new" /><asp:RequiredFieldValidator ErrorMessage="请填写验证码" ControlToValidate="txt验证码" runat="server" ValidationGroup="new" Display="Dynamic" /><asp:RegularExpressionValidator ErrorMessage="验证码错误" ControlToValidate="txt验证码" runat="server" ValidationExpression="\d{4}"  ValidationGroup="new" Display="Dynamic"/><asp:Label Text="" ID="lbl提示消息" runat="server" />
                                                                                    </td>
                                                                                </tr>
                                                                            </tbody>
                                                                        </table>
                                                                    </form>
                                                                </td>
                                                            </tr>
                                                        </tbody>
                                                    </table>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </td>
            </tr>
        </tbody>
    </table>
</body>
</html>